<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<VBox alignment="CENTER" spacing="20.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/19" fx:controller="com.example.task11v12window.HelloController">
    <padding>
        <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
    </padding>
   <children>
      <HBox prefHeight="100.0" prefWidth="200.0">
         <children>
            <VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="100.0">
               <children>
                  <ListView fx:id="rootsListView" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="200.0" />
                  <Separator orientation="VERTICAL" prefHeight="200.0" />
                  <Separator orientation="VERTICAL" prefHeight="200.0" />
                  <TextField fx:id="rootTf" promptText="Root" />
                  <Separator orientation="VERTICAL" prefHeight="200.0" />
                  <Button fx:id="addRootBtn" mnemonicParsing="false" onAction="#addRootClick" text="Add" textAlignment="CENTER" />
               </children>
            </VBox>
            <Separator prefWidth="200.0" />
            <VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="100.0">
               <children>
                  <TextArea fx:id="textTA" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="200.0" />
                  <Separator orientation="VERTICAL" prefHeight="200.0" />
                  <Button fx:id="solveBtn" alignment="TOP_CENTER" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" onAction="#solveClick" text="SpellCheck" textAlignment="CENTER" />
               </children>
            </VBox>
         </children>
      </HBox>
      <Separator prefWidth="200.0" />
      <Label fx:id="resLabel" />
   </children>
</VBox>
